package com.tusuo.stds.ui.question;

import com.hannesdorfmann.mosby.mvp.MvpView;
import com.tusuo.stds.rest.LevelDetail;
import com.tusuo.stds.rest.Question;

import java.util.Set;

/**
 * @author J.Huang
 * @version 1.0
 *
 */

interface QuestionView extends MvpView {
    void setCurrentQuestion(int index, Question question,
                            boolean showAnswer, Set<Integer> userChoices);
    void showNoQuestionTip();
    void setSecretKey(String key);

    void initFirst();

    void toNextQuestion();

    void requestSubmitQuestion(int questionId, long elapseSec, boolean isFinal, int levelId, String answerContent);

    void toResultActivity(LevelDetail mLevelDetail);
}
